package cn.zysuyuan.common.exception;

import cn.zysuyuan.common.entity.R;
import lombok.Getter;

/**
 * 自定义异常
 */
public class CommonException extends Exception  {

    private String resultCode;
    public CommonException(String resultCode) {
        this.resultCode = resultCode;
    }

    public String getResultCode() {
        return resultCode;
    }

    public void setResultCode(String resultCode) {
        this.resultCode = resultCode;
    }
}
